//
//  HyLoglnButton.h
//  Example
//
//  Created by  东海 on 15/9/2.
//  Copyright (c) 2015年 Jonathan Tribouharet. All rights reserved.
//

#import <UIKit/UIKit.h>

#pragma mark 登录按钮点击动画效果枚举
typedef NS_ENUM(NSInteger,loginButtonAnimalType){
    loginSucessWithPresentType,//登录成功并跳转页面类型
    loginSucessType//登录成功
};
typedef void(^Completion)();

@interface DDLoglnButton : UIButton

- (void)failedAnimationWithPromptStr:(NSString*)promptStr Completion:(Completion )completion;

- (void)succeedAnimationWithSucessType:(loginButtonAnimalType)type Completion:(Completion)completion;

@end
